package com.kxmall.huishou.mapper;

import com.kxmall.categorize.domain.vo.HsWasteCategorizeVo;
import com.kxmall.huishou.domain.HsWasteSite;
import com.kxmall.huishou.domain.vo.HsWasteSiteVo;
import com.kxmall.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * 废品回收站信息Mapper接口
 *
 * @author kxmall
 * @date 2023-11-23
 */
public interface HsWasteSiteMapper extends BaseMapperPlus<HsWasteSiteMapper, HsWasteSite, HsWasteSiteVo> {

    List<HsWasteSiteVo> queryPageListByLatAndLon(@Param("longitude") BigDecimal longitude, @Param("latitude") BigDecimal latitude, @Param("offset") Integer offset, @Param("limit") Integer limit);

    HsWasteSiteVo queryByIdAndlatAndLon(@Param("longitude") BigDecimal longitude, @Param("latitude") BigDecimal latitude, @Param("id") Long id);
}
